package com.shop.cereshop.admin.param.sos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 新增一键急救电话入参
 */
@Data
@ApiModel(value = "SosPhoneSaveParam", description = "新增一键急救电话请求")
public class SosPhoneSaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 地区编码
     */
    @ApiModelProperty(value = "地区编码", required = true)
    @NotBlank(message = "请选择地区")
    private String cityCode;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String phone;

    /**
     * 备注信息
     */
    @ApiModelProperty(value = "备注信息", required = true)
    @NotBlank(message = "备注信息不能为空")
    private String remark;
}

